package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_userModelMapper;
import com.zhuoshi.bean.Wd_userModel;
import com.zhuoshi.service.Wd_userModelService;
@Service
public class Wd_userModelServiceImpl implements Wd_userModelService {
@Autowired
private Wd_userModelMapper userDao;

	public int deleteByPrimaryKey(String userId) {
		return userDao.deleteByPrimaryKey(userId);
	}

	public int insert(Wd_userModel record) {
		return userDao.insert(record);
	}

	public int insertSelective(Wd_userModel record) {
		return userDao.insertSelective(record);
	}

	public Wd_userModel selectByPrimaryKey(String userId) {
		return userDao.selectByPrimaryKey(userId);
	}

	public int updateByPrimaryKeySelective(Wd_userModel record) {
		return userDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_userModel record) {
		return userDao.updateByPrimaryKey(record);
	}

	public Wd_userModel selectUser(Wd_userModel record) {
		return userDao.selectUser(record);
	}
	/**
	 * 查询全部用户
	 */
	public List<Wd_userModel> selectAllUser() {
		return userDao.selectAllUser();
	}

}
